/*******************************************************************************
 * Copyright (c) 2006, 2009 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 * Contributors:
 * IBM Corporation - initial API and implementation
 ******************************************************************************/

package cn.elwy.rcp.ui.navigator.internal.resources.workbench;

// Sadly, there is nothing that can be done about these warnings, as
// the INavigatorSorterService has a method that returns a ViewerSorter, so
// we can't convert this to a ViewerComparator.
import org.eclipse.ui.views.navigator.ResourceSorter;

/**
 * TODO - This refers to the deprecated ResourceSorter, however we are stuck with this for the time being because the
 * CommonSorter extension point uses a ViewerSorter. We should provide an option for a ViewerComparator and then we can
 * remove this class.
 * 
 * @since 3.2
 */
@SuppressWarnings("deprecation")
public class ResourceExtensionSorter extends ResourceSorter {

  /**
   * Construct a sorter that uses the name of the resource as its sorting criteria.
   */
  public ResourceExtensionSorter() {
    super(ResourceSorter.NAME);
  }
}
